﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace AppSCO.Models
{
    public class administracionModel
    {
        public filtroBusquedaHistorial filtroBusqueda { get; set; }
        public List<citaGeneradaDataModel> citasGeneradas { get; set; }
        public citaGeneradaDataModel citaGenerada { get; set; }
        public administracionModel() {
            this.filtroBusqueda = new filtroBusquedaHistorial();
            this.citaGenerada = new citaGeneradaDataModel();
            this.citasGeneradas = new List<citaGeneradaDataModel>();
        }
    }

    public class filtroBusquedaHistorial {
        [Display(Name = "DNI")]
        public string DNIPAC { get; set; }
        [Display(Name = "NOMBRES / APELLIDOS")]
        public string NOMPAC { get; set; }
    }

    public class laboratorioModel {
        [Display(Name = "CODIGO LABORATORIO")]
        public int CODLAB { get; set; }
        [Display(Name = "LABORATORIO")]
        public string NOMLAB { get; set; }
    }

    public class doctorDataModel {
        [Display(Name = "CODIGO DOCTOR")]
        public int CODDOC { get; set; }
        [Display(Name = "NOMBRE DOC")]
        public string NOMDOC { get; set; }
        [Display(Name = "APE. PATERNO")]
        public string APEPDOC { get; set; }
        [Display(Name = "APE. MATERNO")]
        public string APEMDOC { get; set; }
        [Display(Name = "DNI")]
        public string DNI { get; set; }
        [Display(Name = "SIT. REG")]
        public string SITREG { get; set; }
    }

    public class citaGeneradaDataModel {
        [Display(Name = "CODIGO CITA")]
        public int CODCIT { get; set; }
        [Display(Name = "FEC. CITA")]
        public string FECCITA { get; set; }
        [Display(Name = "NUEVA FEC. CITA")]
        public string FECCITA_REPRO { get; set; }
        [Display(Name = "FLG ESTADO")]
        public string FLGEST { get; set; }
        [Display(Name = "SIT. REGISTRO")]
        public string SITREG { get; set; }
        [Display(Name = "HORARIO")]
        public int CODHOR { get; set; }
        [Display(Name = "PACIENTE")]
        public int CODPAC { get; set; }
        [Display(Name = "EMPRESA")]
        public int CODEMP { get; set; }
        [Display(Name = "OCUPACION")]
        public int CODOCU { get; set; }
        [Display(Name = "MAN. ALIMENTOS")]
        public bool MANALI { get; set; }
        [Display(Name = "NUM. DOC. PAGOS")]
        public string NUMDOCPAG { get; set; }
        [Display(Name = "MONTO")]
        public string MONPAG { get; set; }
        [Display(Name = "TIPO PAGO")]
        public string TIPPAG { get; set; }
        [Display(Name = "NOMBRE PACIENTE")]
        public string NOMPAC { get; set; }
        [Display(Name = "APE. PATERNO")]
        public string APEPPAC { get; set; }
        [Display(Name = "APE. MATERNO")]
        public string APEMPAC { get; set; }
        [Display(Name = "DNI")]
        public string DNIPAC { get; set; }
        [Display(Name = "FEC. NACIMIENTO")]
        public string FECNACPAC { get; set; }
        [Display(Name = "TLF. CASA")]
        public string TELCPAC { get; set; }
        [Display(Name = "TLF. CELULAR")]
        public string TELHPAC { get; set; }
        [Display(Name = "CORREO")]
        public string CORPAC { get; set; }
        [Display(Name = "DIRECCION")]
        public string DIRPAC { get; set; }
        [Display(Name = "SEXO")]
        public string SEXPAC { get; set; }
        [Display(Name = "HORARIO")]
        public string DESHOR { get; set; }
        [Display(Name = "EMPRESA")]
        public string NOMEMP { get; set; }
        [Display(Name = "OCUPACION")]
        public string NOMOCU { get; set; }
        [Display(Name = "OBSERVACION DE CITA")]
        public string OBSCIT { get; set; }

        [Display(Name = "OBSERVACION DE ATENCION")]
        public string OBSATEN { get; set; }
        [Display(Name = "DOCTOR")]
        public string NOMDOC { get; set; }
        [Display(Name = "LABORATORIO")]
        public string DESLAB { get; set; }

         [Display(Name = "FLG DELIVERY")]
        public string FLGDEL { get; set; }


        [Display(Name = "LABORATORIO")]
        public List<SelectListItem> listaLaboratorio { get; set; }
        [Display(Name = "DOCTOR")]
        public List<SelectListItem> listaDoctor { get; set; }

        public int CODDOC { get; set; }
        public int CODLAB { get; set; }
        public citaGeneradaDataModel() {
            this.listaDoctor = new List<SelectListItem>();
            this.listaLaboratorio = new List<SelectListItem>();
        }
    }
}